package com.jsb.laundry.model.shops;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 入驻商家表(MerchantsInfo)实体类
 *
 * @author makejava
 * @since 2023-08-29 17:10:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "merchants_info: table", description = "入驻商家表")
public class MerchantsInfo implements Serializable {

    private static final long serialVersionUID = 701700696615489654L;

    private Integer id;

    /**
     * 绑定手机号【商铺端登录的账号】（与shops中phone关联）
     */
    @ApiModelProperty(value = "绑定手机号【商铺端登录的账号】（与shops中phone关联）")
    private String phone;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    private String phoneCode;

    /**
     * 商铺端登录的密码
     */
    @ApiModelProperty(value = "商铺端登录的密码")
    private String password;

    /**
     *TODO 后可用于旗舰店登录和小站登录标识 (0:普通店铺登录，1：旗舰店登录 )
     */
    @ApiModelProperty(value = "该账号下是否有旗舰店(0:普通店铺权限，1：旗舰店权限 )")
    private String accountPermission;

    /**
     * 登录时间
     */
    @ApiModelProperty(value = "登录时间")
    private Date loginTime;

    /**
     * 登录IP
     */
    @ApiModelProperty(value = "登录IP")
    private String loginIp;

    /**
     * 创建账号时间
     */
    @ApiModelProperty(value = "创建账号时间")
    private Date createTime;

    /**
     * 最近一次更新(如：更新密码)时间
     */
    @ApiModelProperty(value = "最近一次更新(如：更新密码)时间")
    private Date updateTime;

    /**
     * 在线(0:离线 1:在线)
     */
    @ApiModelProperty(value = "在线(0:离线 1:在线)")
    private String online;


    /**
     * 账号状态（0正常，1封禁）
     */
    @ApiModelProperty(value = "账号状态（0正常，1封禁）")
    private String del;

    /**
     * 验证码过期时间
     */
    @ApiModelProperty(value = "验证码过期时间")
    private Date codeTime;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    private String headLog;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private String sex;

    /**
     * 户籍
     */
    @ApiModelProperty(value = "户籍")
    private String householdRegistration;

    /**
     * 现居
     */
    @ApiModelProperty(value = "现居")
    private String presentResidence;

    /**
     * 生日
     */
    @ApiModelProperty(value = "生日")
    private String birthday;

    /**
     * 省(上海)
     */
    @ApiModelProperty(value = "省(上海)")
    private String city;

    /**
     * 市(上海市)
     */
    @ApiModelProperty(value = "市(上海市)")
    private String town;

    /**
     * 区(宝山区)
     */
    @ApiModelProperty(value = "区(宝山区)")
    private String region;

    /**
     * 商铺昵称
     */
    @ApiModelProperty(value = "商铺昵称")
    private String account;

}
